Other Classes
The following classes are available globally.
-
Represents the coordinate information returned by the
See morecoordinateInfoForPixelorcoordinatesInfoForPixelsmethods.Declaration
Objective-C
@interface MBMCoordinateInfo : NSObjectSwift
class CoordinateInfo : NSObject -
Note! This is an experimental feature. It can be changed or removed in future versions.
CustomLayerHost declares, by returning this from CustomLayerHost’s prerender, what kind of rendering it intends to do in the very next frame. If there is need for rendering to tile textures, declare if all tiles need to be re-rendered because e.g. underlying data changed.
See moreDeclaration
Objective-C
@interface MBMCustomLayerRenderConfiguration : NSObjectSwift
class CustomLayerRenderConfiguration : NSObject -
Undocumented
See moreDeclaration
Objective-C
@interface MBMGeoJSONSourceData : NSObject - (nonnull instancetype)initWithValue:(nonnull id)value __attribute__((deprecated("Please use: '+from{TypeName}:' instead."))); + (nonnull instancetype)fromGeometry:(nonnull MBXGeometry *)value; + (nonnull instancetype)fromFeature:(nonnull MBXFeature *)value; + (nonnull instancetype)fromNSArray:(nonnull NSArray<MBXFeature *> *)value; + (nonnull instancetype)fromNSString:(nonnull NSString *)value; - (BOOL)isGeometry; - (BOOL)isFeature; - (BOOL)isNSArray; - (BOOL)isNSString; - (nonnull MBXGeometry *)getGeometry __attribute((ns_returns_retained)); - (nonnull MBXFeature *)getFeature __attribute((ns_returns_retained)); - (nonnull NSArray<MBXFeature *> *)getNSArray __attribute((ns_returns_retained)); - (nonnull NSString *)getNSString __attribute((ns_returns_retained)); @property (nonatomic, nonnull) id value; @property (nonatomic, readonly) MBMGeoJSONSourceDataType type; @endSwift
class GeoJSONSourceData : NSObject -
Undocumented
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudget : NSObject - (nonnull instancetype)initWithValue:(nonnull id)value __attribute__((deprecated("Please use: '+from{TypeName}:' instead."))); + (nonnull instancetype)fromMapMemoryBudgetInMegabytes:(nonnull MBMMapMemoryBudgetInMegabytes *)value; + (nonnull instancetype)fromMapMemoryBudgetInTiles:(nonnull MBMMapMemoryBudgetInTiles *)value; - (BOOL)isMapMemoryBudgetInMegabytes; - (BOOL)isMapMemoryBudgetInTiles; - (nonnull MBMMapMemoryBudgetInMegabytes *)getMapMemoryBudgetInMegabytes __attribute((ns_returns_retained)); - (nonnull MBMMapMemoryBudgetInTiles *)getMapMemoryBudgetInTiles __attribute((ns_returns_retained)); @property (nonatomic, nonnull) id value; @property (nonatomic, readonly) MBMMapMemoryBudgetType type; @endSwift
class MapMemoryBudget : NSObject -
Map memory budget in megabytes.
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudgetInMegabytes : NSObjectSwift
class MapMemoryBudgetInMegabytes : NSObject -
Map memory budget in tiles.
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudgetInTiles : NSObjectSwift
class MapMemoryBudgetInTiles : NSObject -
Geometry for querying rendered features.
See moreDeclaration
Objective-C
@interface MBMRenderedQueryGeometry : NSObjectSwift
class RenderedQueryGeometry : NSObject -
Various options needed for tile cover
See moreDeclaration
Objective-C
@interface MBMTileCoverOptions : NSObjectSwift
class TileCoverOptions : NSObject -
Describes the style package load option values for a list of tilesets.
See moreDeclaration
Objective-C
@interface MBMTilesetDescriptorOptionsForTilesets : NSObjectSwift
class TilesetDescriptorOptionsForTilesets : NSObject -
Various options needed for displaying view annotation.
See moreDeclaration
Objective-C
@interface MBMViewAnnotationOptions : NSObjectSwift
class ViewAnnotationOptions : NSObject -
Read-only data that is needed to correctly position the single view annotation on screen. Used inside ViewAnnotationPositionsUpdateListener callback to notify the listener about the visible view annotations’ position updates.
See moreDeclaration
Objective-C
@interface MBMViewAnnotationPositionDescriptor : NSObjectSwift
class ViewAnnotationPositionDescriptor : NSObject -
Undocumented
See moreDeclaration
Objective-C
@interface MBMMapRecorder : NSObject // This class provides custom init which should be called - (nonnull instancetype)init NS_UNAVAILABLE; // This class provides custom init which should be called + (nonnull instancetype)new NS_UNAVAILABLE; /** * Initializes the map recorder object. * * @param map The `map` to record. */ - (nonnull instancetype)initWithMap:(nonnull MBMMap *)map; /** Begins the API call sequence recording. */ - (void)startRecording; /** * Stops the current recording session. * * @return a JSON string which contains the recorded sequence. */ - (nonnull NSString *)stopRecording __attribute((ns_returns_retained)); - (void)replayForContent:(nonnull NSString *)content playbackCount:(int32_t)playbackCount playbackSpeedMultiplier:(double)playbackSpeedMultiplier callback:(nonnull MBMPlaybackFinished)callback; /** Temporarily pauses or resumes playback if already paused. */ - (void)togglePauseReplay; /** Returns the string description of the current state of playback. */ - (nonnull NSString *)getPlaybackState __attribute((ns_returns_retained)); @endSwift
class MapRecorder : NSObject -
Undocumented
See moreDeclaration
Objective-C
@interface MBMVersion : NSObject // This class provides custom init which should be called - (nonnull instancetype)init NS_UNAVAILABLE; // This class provides custom init which should be called + (nonnull instancetype)new NS_UNAVAILABLE; + (uint32_t)getMajorVersion; + (uint32_t)getMinorVersion; + (uint32_t)getPatchVersion; + (nonnull NSString *)getVersionString __attribute((ns_returns_retained)); + (nonnull NSString *)getRevisionString __attribute((ns_returns_retained)); @endSwift
class Version : NSObject
Other Classes Reference